package com.ruoyi.common.exception.backendEnum;

public enum UavException {

    UAV_DATA_NOT_EXIST(400,"无人机数据不存在"),
    UAV_DATA_NOT_FOUND(400,"未查询到无人机数据"),
    FILE_UNZIP_FAIL(400,"文件解压失败"),;

    private final int code;
    private final String message;

    UavException(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }
    public String getMessage() {
        return message;
    }
}

